//package chaos.infinity.block;
//
//
//import net.minecraft.block.AbstractBlock;
//import net.minecraft.block.Block;
//import net.minecraft.block.BlockState;
//import net.minecraft.block.FluidBlock;
//import net.minecraft.state.StateManager;
//import net.minecraft.state.property.IntProperty;
//import net.minecraft.util.math.BlockPos;
//import net.minecraft.world.World;
//
//// 物理控制主逻辑
//public class NoFloatButExtend extends Block {
//    public static final IntProperty EXTEND_DISTANCE = IntProperty.of("extend", 0, 99); // 0-99范围
//
//    public NoFloatButExtend(AbstractBlock.Settings settings) {
//        super(settings);
//        setDefaultState(getStateManager().getDefaultState().with(EXTEND_DISTANCE, 3)); // 默认值设为3
//    }
//
//    @Override
//    protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
//        builder.add(EXTEND_DISTANCE); // 注册属性到方块状态
//    }
//}